const commonColumn = [
  {
    key: "planStartTime",
    title: "计划开始时间",
    width: 160,
    className: "sle no-padding"
  },
  {
    key: "startTime",
    title: "实际开始时间",
    width: 160,
    className: "sle no-padding"
  },
  {
    key: "planEndTime",
    title: "计划完成时间",
    width: 160,
    className: "sle no-padding"
  },
  {
    key: "endTime",
    title: "实际完成时间",
    width: 160,
    className: "sle no-padding"
  }
];

export const RECORD: any = {
  // 网络搭建
  "1906639011946954752": {
    column: [
      ...commonColumn,
      {
        key: "headOfNetwork",
        title: "网络负责",
        className: "sle no-padding"
      },
      {
        key: "typeNetwork",
        title: "网络类型",
        className: "sle no-padding"
      },
      {
        key: "openNetworking",
        title: "开放型网络",
        className: "sle no-padding"
      },
      {
        key: "isEligibility",
        title: "延迟及丢包率是否合格",
        className: "sle no-padding"
      },
      {
        key: "isCover",
        title: "是否覆盖工作范围",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        headOfNetwork: "",
        typeNetwork: "",
        openNetworking: "",
        isEligibility: "",
        isCover: "",
        fileList: [],
        remark: ""
      }
    ]
  },
  // 充电站安装
  "1906639015738605568": {
    column: [
      ...commonColumn,
      {
        key: "factory",
        title: "充电桩厂家",
        className: "sle no-padding"
      },
      {
        key: "chargingMethod",
        title: "充电方式",
        className: "sle no-padding"
      },
      {
        key: "isNetworking",
        title: "是否需要通讯",
        className: "sle no-padding"
      },
      {
        key: "isFixed",
        title: "是否固定",
        className: "sle no-padding"
      },
      {
        key: "isChargingMethod",
        title: "是否带手动应急冲电"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        factory: "",
        chargingMethod: "",
        isNetworking: "",
        isFixed: "",
        isChargingMethod: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 充电站调试
  "1906639018695589888": {
    column: [
      ...commonColumn,
      {
        key: "factory",
        title: "充电桩厂家",
        className: "sle no-padding"
      },
      {
        key: "chargingMethod",
        title: "充电方式",
        className: "sle no-padding"
      },
      {
        key: "isPrecision",
        title: "自动对接是否精准",
        className: "sle no-padding"
      },
      {
        key: "isChargeNormally",
        title: "D0打开是否正常充电",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        factory: "",
        chargingMethod: "",
        isPrecision: "",
        isChargeNormally: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 呼叫设备安装
  "1906639020067127296": {
    column: [
      ...commonColumn,
      {
        key: "deviceType",
        title: "设备类型",
        className: "sle no-padding"
      },
      {
        key: "count",
        title: "设备数量",
        className: "sle no-padding"
      },
      {
        key: "isCustomize",
        title: "是否有定制功能",
        className: "sle no-padding"
      },
      {
        key: "isNetworking",
        title: "设备是否正常入局域网",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        deviceType: "",
        count: "",
        isCustomize: "",
        isNetworking: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 呼叫设备配置
  "1906639022017478656": {
    column: [
      ...commonColumn,
      {
        key: "deviceType",
        title: "设备类型",
        className: "sle no-padding"
      },
      {
        key: "isNormal",
        title: "设备是否正常生成任务",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        deviceType: "",
        isNormal: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 模块安装
  "1906639022298497024": {
    column: [
      ...commonColumn,
      {
        key: "deviceModuleType",
        title: "模块对接设备",
        className: "sle no-padding"
      },
      {
        key: "connectType",
        title: "连接方式",
        className: "sle no-padding"
      },
      {
        key: "isConnect",
        title: "是否与设备厂家取得联系",
        className: "sle no-padding"
      },
      {
        key: "isRight",
        title: "模块安装位置是否确认",
        className: "sle no-padding"
      },
      {
        key: "isIo",
        title: "是否需要加装IO信号",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        deviceType: "",
        connectType: "",
        isConnect: "",
        isRight: "",
        isIo: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 模块调试
  "1906639022587904000": {
    column: [
      ...commonColumn,
      {
        key: "doorType",
        title: "门控类型",
        className: "sle no-padding"
      },
      {
        key: "isDCB",
        title: "DCB是否接发信号",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        doorType: "",
        isDCB: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 对接设备安装
  "1906639026383749120": {
    column: [
      ...commonColumn,
      {
        key: "deviceDo",
        title: "设备负责",
        className: "sle no-padding"
      },
      {
        key: "deviceName",
        title: "设备名称",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        deviceDo: "",
        deviceName: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 对接设备调试
  "1906639030452224000": {
    column: [
      ...commonColumn,
      {
        key: "isDocking",
        title: "设备是否有信号对接",
        className: "sle no-padding"
      },
      {
        key: "deviceRequest",
        title: "设备对接精度要求",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        isDocking: "",
        deviceRequest: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 实体库位安装
  "1906639033463734272": {
    column: [
      ...commonColumn,
      {
        key: "count",
        title: "实体库位数量",
        className: "sle no-padding"
      },
      {
        key: "connectType",
        title: "连接方式",
        className: "sle no-padding"
      },
      {
        key: "isNetwork",
        title: "设备是否有信号对接",
        className: "sle no-padding"
      },
      {
        key: "isConfirm",
        title: "是否确认安装位置",
        className: "sle no-padding"
      },
      {
        key: "isConfirmMain",
        title: "与甲方确认安装方式",
        className: "sle no-padding"
      },
      {
        key: "isConfirmMainSize",
        title: "与甲方确认安装尺寸",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        count: "",
        connectType: "",
        isNetwork: "",
        isConfirm: "",
        isConfirmMain: "",
        isConfirmMainSize: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 实体库位配置
  "1906639033799278592": {
    column: [
      ...commonColumn,
      {
        key: "type",
        title: "感应器型号",
        className: "sle no-padding"
      },
      {
        key: "range",
        title: "感应范围",
        className: "sle no-padding"
      },
      {
        key: "isIo",
        title: "IO信号是否正常触发",
        className: "sle no-padding"
      },
      {
        key: "isCan",
        title: "配置到库位是否生效",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        type: "",
        range: "",
        isIo: "",
        isCan: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 任务链搭建
  "1906639037930668032": {
    column: [
      ...commonColumn,
      {
        key: "mapScanning",
        title: "地图扫描轮廓清晰无重影",
        className: "sle no-padding"
      },
      {
        key: "mapLaser",
        title: "地图激光等高车型公用",
        className: "sle no-padding"
      },
      {
        key: "isLocation",
        title: "二维码 反光板辅助定位",
        className: "sle no-padding"
      },
      {
        key: "isChecked",
        title: "工位是否校验完成",
        className: "sle no-padding"
      },
      {
        key: "isDirectives",
        title: "动作指令是否正常执行",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        mapScanning: "",
        mapLaser: "",
        isLocation: "",
        isChecked: "",
        isDirectives: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 调度库位系统
  "1906639039545475072": {
    column: [
      ...commonColumn,
      {
        key: "ip",
        title: "服务器IP地址固定",
        className: "sle no-padding"
      },
      {
        key: "version",
        title: "调度版本",
        className: "sle no-padding"
      },
      {
        key: "isTrafficAll",
        title: "调度交管配置是否完善",
        className: "sle no-padding"
      },
      {
        key: "isStoreAll",
        title: "库位系统区域是否完善",
        className: "sle no-padding"
      },
      {
        key: "isTds",
        title: "TDS工步验证是否正确",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        ip: "",
        version: "",
        isTrafficAll: "",
        isStoreAll: "",
        isTds: "",
        fileList: [],
        remark: ""
      }
    ]
  },

  // 单车运行
  "1906639042351464448": {
    column: [
      ...commonColumn,
      {
        key: "confidence",
        title: "运行平均置信度",
        className: "sle no-padding"
      },
      {
        key: "range",
        title: "工位点误差范围",
        className: "sle no-padding"
      },
      {
        key: "isObstacleAvoidance",
        title: "避障 防撞条是否生效",
        className: "sle no-padding"
      },
      {
        key: "isSpeed",
        title: "全局对应速度是否优化",
        className: "sle no-padding"
      },
      {
        key: "isFluency",
        title: "运行路线是否流畅",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        confidence: "",
        range: "",
        isObstacleAvoidance: "",
        isSpeed: "",
        isFluency: "",
        fileList: [],
        remark: ""
      }
    ]
  },
  // 整体联调
  "1906639046461882368": {
    column: [
      ...commonColumn,
      {
        key: "traffic",
        title: "多车区域交管配置",
        className: "sle no-padding"
      },
      {
        key: "config",
        title: "充电策略配置",
        className: "sle no-padding"
      },
      {
        key: "fileList",
        title: "记录上传"
      },
      {
        key: "remark",
        title: "备注说明",
        className: "sle no-padding"
      }
    ],
    tableData: [
      {
        planStartTime: "",
        startTime: "",
        planEndTime: "",
        endTime: "",
        traffic: "",
        config: "",
        fileList: [],
        remark: ""
      }
    ]
  }
};

// 字典列表
export const DIC_LIST: any = {
  headOfNetwork: "1912353504601571328",
  typeNetwork: "1912353586713460736",
  chargingMethod: "1912353818113212416",
  deviceType: "1912353911738466304",
  deviceModuleType: "1912353995872010240",
  connectType: "1912354031934636032",
  doorType: "1912354086020186112",
  deviceDo: "1912354139606614016",
  version: "1912378155050467328"
};

export const AUDIT_CONTENT: any = {
  1: "审批中",
  2: "已通过",
  3: "已驳回",
  4: "已撤销",
  6: "通过后撤销",
  7: "已删除",
  10: "已支付"
};

export const SP_COLOR: any = {
  1: "order-table-status-audit1",
  2: "order-table-status-audit2",
  3: "order-table-status-audit3",
  4: "order-table-status-audit3",
  6: "order-table-status-audit3",
  7: "order-table-status-audit3",
  10: "order-table-status-audit3"
};

export const PLAN_TIME_LIST: any = [
  // "planPurchaseTime",
  // "planMechanicalDesignTime",
  // "planBomTime",
  // "planElectricalSchematicsTime",
  // "planWiringDiagramTime",
  // "planProductionCompletedTime",
  // "planCustomSoftwareDevelopmentTime",
  // "planDebugCompletedTime",
  // "planDeliveryTime",
  // "orderTime",
  // "planEndTime",
  // "planStartTime",
  // "planFinishTime"
];

export const TIME_LIST: any = [
  // "purchaseTime",
  // "mechanicalDesignTime",
  // "bomTime",
  // "electricalSchematicsTime",
  // "wiringDiagramTime",
  // "productionCompletedTime",
  // "customSoftwareDevelopmentTime",
  // "debugCompletedTime",
  // "deliveryTime",
  // "startTime",
  // "endTime"
];

export const AGV_MODEL_LIST: any = [
  "mechanicalDesignNumber", // 总图号
  "planPurchaseTime", //计划预采清单下发日期	string
  "planMechanicalDesignTime", //计划机械图纸下发时间	string
  "planBomTime", //计划BOM下发时间	string
  "planElectricalSchematicsTime", //计划电气原理图下发时间	string
  "planWiringDiagramTime", //计划线束图下发时间	string
  "planProductionCompletedTime", //计划制造完成时间	string
  "planCustomSoftwareDevelopmentTime", //计划软件开发完成时间	string
  "planDebugCompletedTime", //计划调试完成时间	string
  "purchaseTime", //实际预采清单下发日期	string
  "mechanicalDesignTime", //实际机械图纸下发时间	string
  "bomTime", //实际BOM下发时间	string
  "electricalSchematicsTime", //实际电气原理图下发时间	string
  "wiringDiagramTime", //实际线束图下发时间	string
  "productionCompletedTime", //实际制造完成时间	string
  "customSoftwareDevelopmentTime", //实际软件开发完成时间	string
  "debugCompletedTime", //实际调试完成时间	string
  "purchaseDelay", //采购清单下发延期	boolean
  "purchaseDelayTime", //采购清单下发延期天数	integer
  "mechanicalDesignDelay", //机械图纸下发延期	boolean
  "mechanicalDesignDelayTime", //机械图纸下发延期天数	integer
  "bomDelay", //BOM下发延期	boolean
  "bomDelayTime", //BOM下发延期天数	integer
  "electricalSchematicsDelay", //电气原理图下发延期	boolean
  "electricalSchematicsDelayTime", //电气原理图下发延期天数	integer
  "wiringDiagramDelay", //线束图下发延期	boolean
  "wiringDiagramDelayTime", //线束图下发延期天数	integer
  "productionCompletedDelay", //制造完成延期	boolean
  "productionCompletedDelayTime", //制造完成延期天数	integer
  "customSoftwareDevelopmentDelay", //软件开发完成延期	boolean
  "customSoftwareDevelopmentDelayTime", //软件开发完成延期天数	integer
  "debugCompletedDelay", //调试完成延期	boolean
  "debugCompletedDelayTime" // 调试完成延期天数
];
